#include <stdio.h>

int main()
{
  int grades;
  printf("请输入你的成绩(整数)：");
  scanf("%d", &grades);
  if (grades >= 90 && grades <= 100)
  {
    printf("优秀！\n");
  }
  else if (grades >= 80)
  {
    printf("良好！\n");
  }
  else if (grades >= 60)
  {
    printf("还过得去！\n");
  }
  else
  {
    printf("不及格！\n");
  }
  printf("程序结束！");
  return 0;
}